package com.cn.ant.modules.score.entity;

import com.cn.ant.common.utils.excel.annotation.ExcelField;
import org.hibernate.validator.constraints.Length;

import com.cn.ant.common.persistence.MyDataEntity;

/**
 * 专业录取线Entity
 * @author AntDream
 * @version 2015-08-28
 */
public class LqMajor extends MyDataEntity<LqMajor> {
	
	private static final long serialVersionUID = 1L;
	private String province;		// 省份
	private String schoolCode;		// 学校国标
	private String schoolCodeSn;		// 学校国标
	private String schoolName;		// 学校名称
	private String majorName;		// 专业名称
	private String majorCode;		// 专业代码
	private String klType;		// 科类代码
	private String batchLevel;		// 录取批次代码
	private String lqYear;		// 年份
	private String lqAvrgScore;		// 专业录取平均分数
	private String lqMaxScore;		// 专业录取最高分
	private String lqMinScore;		// 专业录取最低分
	private String twfMinScore;		// 专业最低同位分
	private String twfAvrgScore;		// 专业平均同位分
	private String twfMaxScore;		// 专业最高同位分
	private String lastYearNum;		// 专业历年计划人数
	private String thisYearNum;		// 专业今年计划人数
	private String diffScore;		// 专业线差
	private String level;		// 等级

	private String provinceName;//省份名称
	
	public LqMajor() {
		super();
	}

	public LqMajor(String id){
		super(id);
	}

	@Length(min=1, max=32, message="省份长度必须介于 1 和 32 之间")
	@ExcelField(title = "省份编码", align = 0, sort = 60, type = 0)
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@ExcelField(title = "省份", align = 0, sort = 50, type = 0)
	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}
	
	@Length(min=1, max=20, message="学校国标长度必须介于 1 和 20 之间")
	@ExcelField(title = "学校编码", align = 0, sort = 20, type = 0)
	public String getSchoolCode() {
		return schoolCode;
	}

	public void setSchoolCode(String schoolCode) {
		this.schoolCode = schoolCode;
	}

	public String getSchoolCodeSn() {
		return schoolCodeSn;
	}

	public void setSchoolCodeSn(String schoolCodeSn) {
		this.schoolCodeSn = schoolCodeSn;
	}

	@Length(min=1, max=64, message="学校名称长度必须介于 1 和 64 之间")
	@ExcelField(title = "学校名称", align = 0, sort = 10, type = 0)
	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	
	@Length(min=1, max=64, message="专业名称长度必须介于 1 和 64 之间")
	@ExcelField(title = "专业名称", align = 0, sort = 30, type = 0)
	public String getMajorName() {
		return majorName;
	}

	public void setMajorName(String majorName) {
		this.majorName = majorName;
	}
	
	@Length(min=1, max=10, message="专业代码长度必须介于 1 和 10 之间")
	@ExcelField(title = "专业代码", align = 0, sort = 40, type = 0)
	public String getMajorCode() {
		return majorCode;
	}

	public void setMajorCode(String majorCode) {
		this.majorCode = majorCode;
	}
	
	@Length(min=1, max=10, message="科类代码长度必须介于 1 和 10 之间")
	@ExcelField(title = "科类", align = 0, sort = 70, type = 0,dictType = "kemu_type")
	public String getKlType() {
		return klType;
	}

	public void setKlType(String klType) {
		this.klType = klType;
	}
	
	@Length(min=1, max=4, message="录取批次代码长度必须介于 1 和 4 之间")
	@ExcelField(title = "录取批次", align = 0, sort = 80, type = 0,dictType = "batch_level")
	public String getBatchLevel() {
		return batchLevel;
	}

	public void setBatchLevel(String batchLevel) {
		this.batchLevel = batchLevel;
	}
	
	@Length(min=1, max=4, message="年份长度必须介于 1 和 4 之间")
	@ExcelField(title = "年份", align = 0, sort = 90, type = 0,dictType = "close_year")
	public String getLqYear() {
		return lqYear;
	}

	public void setLqYear(String lqYear) {
		this.lqYear = lqYear;
	}
	
	@Length(min=1, max=11, message="专业录取平均分数长度必须介于 1 和 11 之间")
	@ExcelField(title = "专业录取平均分", align = 0, sort = 110, type = 0)
	public String getLqAvrgScore() {
		return lqAvrgScore;
	}

	public void setLqAvrgScore(String lqAvrgScore) {
		this.lqAvrgScore = lqAvrgScore;
	}
	
	@Length(min=1, max=11, message="专业录取最高分长度必须介于 1 和 11 之间")
	@ExcelField(title = "专业录取最高分", align = 0, sort = 120, type = 0)
	public String getLqMaxScore() {
		return lqMaxScore;
	}

	public void setLqMaxScore(String lqMaxScore) {
		this.lqMaxScore = lqMaxScore;
	}
	
	@Length(min=1, max=11, message="专业录取最低分长度必须介于 1 和 11 之间")
	@ExcelField(title = "专业录取最低分", align = 0, sort = 100, type = 0)
	public String getLqMinScore() {
		return lqMinScore;
	}

	public void setLqMinScore(String lqMinScore) {
		this.lqMinScore = lqMinScore;
	}
	
	@Length(min=1, max=11, message="专业最低同位分长度必须介于 1 和 11 之间")
	@ExcelField(title = "专业最低同位分", align = 0, sort = 130, type = 0)
	public String getTwfMinScore() {
		return twfMinScore;
	}

	public void setTwfMinScore(String twfMinScore) {
		this.twfMinScore = twfMinScore;
	}
	
	@Length(min=1, max=11, message="专业平均同位分长度必须介于 1 和 11 之间")
	@ExcelField(title = "专业平均同位分", align = 0, sort = 140, type = 0)
	public String getTwfAvrgScore() {
		return twfAvrgScore;
	}

	public void setTwfAvrgScore(String twfAvrgScore) {
		this.twfAvrgScore = twfAvrgScore;
	}
	
	@Length(min=1, max=11, message="专业最高同位分长度必须介于 1 和 11 之间")
	@ExcelField(title = "专业最高同位分", align = 0, sort = 150, type = 0)
	public String getTwfMaxScore() {
		return twfMaxScore;
	}

	public void setTwfMaxScore(String twfMaxScore) {
		this.twfMaxScore = twfMaxScore;
	}
	
	@Length(min=1, max=11, message="专业历年计划人数长度必须介于 1 和 11 之间")
	@ExcelField(title = "专业历年计划人数", align = 0, sort = 160, type = 0)
	public String getLastYearNum() {
		return lastYearNum;
	}

	public void setLastYearNum(String lastYearNum) {
		this.lastYearNum = lastYearNum;
	}
	
	@Length(min=1, max=11, message="专业今年计划人数长度必须介于 1 和 11 之间")
	@ExcelField(title = "专业今年计划人数", align = 0, sort = 170, type = 0)
	public String getThisYearNum() {
		return thisYearNum;
	}

	public void setThisYearNum(String thisYearNum) {
		this.thisYearNum = thisYearNum;
	}
	
	@Length(min=1, max=11, message="专业线差长度必须介于 1 和 11 之间")
	@ExcelField(title = "专业线差", align = 0, sort = 180, type = 0)
	public String getDiffScore() {
		return diffScore;
	}

	public void setDiffScore(String diffScore) {
		this.diffScore = diffScore;
	}
	
	@Length(min=1, max=4, message="等级长度必须介于 1 和 4 之间")
	@ExcelField(title = "等级", align = 0, sort = 180, type = 0,dictType = "lq_major_level")
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

}